package com.dlut.txy.designpattern.listener.impl;


import com.dlut.txy.designpattern.listener.ConsumeResult;
import com.dlut.txy.designpattern.listener.EventListener;
import com.dlut.txy.designpattern.listener.event.UserLogoutEvent;

public class UserLogoutEventListenerImpl implements EventListener<UserLogoutEvent> {
    @Override
    public ConsumeResult consume(UserLogoutEvent event) {
        System.out.println("消费用户退出事件"+event);
        return ConsumeResult.buildSuccess();
    }
}
